import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import {
  create,
  NButton,
  NInput,
  NSpace,
  NLayout,
  NLayoutSider,
  NLayoutContent,
  NLayoutHeader,
  NLayoutFooter,
} from 'naive-ui'
const naive = create({
  components: [
    NButton,
    NInput,
    NSpace,
    NLayout,
    NLayoutSider,
    NLayoutContent,
    NLayoutHeader,
    NLayoutFooter,
  ],
})
const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(naive)
app.mount('#app')
